<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:ui="http://java.sun.com/jsf/facelets"
	  xmlns:p="http://primefaces.org/ui">

<h:head>
</h:head>
<h:body>

	<h:form>
  
  		
		<h:panelGrid columns="3">
		
			<h:outputLabel value="Firstname: " />
			<h:outputLabel value="#{userInfoBean.firstName}" />
			<h:outputLabel value="" />		
			<h:outputLabel value="" />		
			<h:outputLabel value="" />		
			<h:outputLabel value="" />		


			<h:outputLabel value="Lastname: " />
			<h:outputLabel value="#{userInfoBean.lastName}" />
			<h:outputLabel value="" />
			<h:outputLabel value="" />		
			<h:outputLabel value="" />		
			<h:outputLabel value="" />		
						
 			<h:outputLabel value="Username: " />
			<h:outputLabel value="#{userInfoBean.userName}" />
			<h:outputLabel value="" />
			<h:outputLabel value="" />		
			<h:outputLabel value="" />		
			<h:outputLabel value="" />		
			
 			<h:outputLabel value="Gender: " />
			<h:outputLabel value="#{userInfoBean.gender}" />
			<h:outputLabel value="" />
			<h:outputLabel value="" />		
			<h:outputLabel value="" />		
			<h:outputLabel value="" />		
			
 			<h:outputLabel value="Mobile: " />
			<h:outputLabel value="#{userInfoBean.mobile}" />
			<h:outputLabel value="" />			
			<h:outputLabel value="" />		
			<h:outputLabel value="" />		
			<h:outputLabel value="" />		
			
			<h:outputLabel value="Birthdate: " />
			<h:outputLabel value="#{userInfoBean.birthday}" />
			<h:outputLabel value="" />	
			<h:outputLabel value="" />		
			<h:outputLabel value="" />		
			<h:outputLabel value="" />		
			
			<p:commandButton value="Update" ajax="false" onclick="PF('dlg2').show();" type="button">			
			</p:commandButton>

			<p:commandButton value="Back" actionListener="#{userInfoBean.returnToIndex}" ajax="false">			
			</p:commandButton>
		
		</h:panelGrid>
		
		<p:dialog id="modalDialog" header="Modal Dialog" widgetVar="dlg2" modal="true" resizable="true">  
		   <ui:include src="updateUserInfo.xhtml"/>
        </p:dialog> 
	</h:form>
	
</h:body>
</html>